package com.care.modules.scene.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.care.modules.scene.entity.SceneScheme;
import com.care.modules.scene.mapper.SceneSchemeMapper;
import com.care.modules.scene.service.ISceneSchemeService;
import com.care.modules.scene.vo.SchemeCountVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 场景方案
 * @Author: zhouwenrong
 * @Date: 2020-06-05
 * @Version: V1.0
 */
@Service
public class SceneSchemeServiceImpl extends ServiceImpl<SceneSchemeMapper, SceneScheme> implements ISceneSchemeService {
    @Autowired
    private SceneSchemeMapper sceneSchemeMapper;

    @Override
    public List<SchemeCountVo> schemeCountListBySceneId(String sceneId) {
        return sceneSchemeMapper.schemeCountListBySceneId(sceneId);
    }
}
